﻿using CoreColution.EntityDto.Common;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoreSolution.IService.Common
{
   public  interface IFileUploadService
    {
        /// <summary>
        /// 文件上传
        /// </summary>
        /// <param name="files">文件对象</param>
        /// <returns>success:是否上传成功  message:提示信息  fileReturn:返回上传文件的名称和路径</returns>
        (bool success, string message, FileReturnDto fileReturn) UploadFile(IFormFileCollection files);
    }
}
